﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QQ.SimpleFactory
{
       class SkinFactory
    {
           public static ISkin Create(string m)
           {
               if (string.IsNullOrWhiteSpace(m))
               {
                   return new WindowsSkin();
               }
               else
               {
                   return new MacSkin();
               }
           }
    }
}
